package com.gljx.web.service;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.Remuneration;

public interface RemunerationService {
	
	Map<String, Object> selectPage(int pindex, String psql, int psize);

	Map<String, Object> selectPageCount(String psql);
	/**
     * 查找薪酬项目信息
     * @param remuneration
     * @return
     */
    List<Remuneration> selectRemunerationList(String fcompanyid);
    /**
     * 根据fid查找薪酬项目的信息
     * @param fid
     * @return
     */
    Remuneration selectByPrimaryKey(String fid);
    /**
     * 增加
     * @param remuneration
     * @return
     */
    int addRemuneration(Remuneration remuneration);
    /**
     * 修改薪酬信息
     * @param remuneration
     * @return
     */
    int updateRemuneration(Remuneration remuneration);
    
    /**
     * 根据名称查询薪酬信息
     * @param fnameL2
     * @return
     */
    List<Remuneration> selectRemunerationByFname(String fnameL2,String companyId);
    /**
     * 根据fid删除薪酬项目信息
     * @param fid
     * @return
     */
    int deleteRemunerationByFid(String fid);
    /**
	 * 查找最大编码
	 * @return
	 */
	String selectFnumber(String companyId);
    
    
    
    
}
